-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-126240: handle NULL
returned by _Py_asdl_expr_seq_new
#126241
gh-126240: handle NULL
returned by _Py_asdl_expr_seq_new
#126241
Conversation
…ythonGH-126241) check return value of `_Py_asdl_expr_seq_new` (cherry picked from commit 94639f6) Co-authored-by: Bénédikt Tran <[email protected]>
Sorry, @picnixz and @sobolevn, I could not cleanly backport this to
|
GH-126243 is a backport of this pull request to the 3.13 branch. |
I'll take of the backport unless someone else wants to do it (just working on something else for a few minutes before coming back) |
@picnixz can you please do a manual backport to 3.12? |
Sure! |
GH-126245 is a backport of this pull request to the 3.12 branch. |
I've checked other constructors
_Py_asdl_*_seq_new
but couldn't find occurrences of them not having someif (!res)
check after the call. I don't think this warrants a NEWS entry so I'll add theskip news
label for now.